// import React from 'react';
import React from "./react";
import ReactDOM from "./react-dom";

// let element = <h1 className="title" style="{color:'red'}">hello</h1>
let element = (
  <h1 className="title" style={{ color: "red" }}>
    hello
  </h1>
);
// let element = React.createElement("h1", {
//     className: "title",
//     style: {
//         color: "red"
//     }
// }, "hello")

// console.log(element)

ReactDOM.render(element, document.getElementById("root"));
// ReactDOM.render(
//   <React.StrictMode>
//   </React.StrictMode>,
//   document.getElementById('root')
// );
